package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库类型设置对象 stock_in_type_management
 *
 * @author ruoyi
 * @date 2025-05-29
 */
public class StockInTypeManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 入库类型名称，不能为空 */
    @Excel(name = "入库类型名称，不能为空")
    private String typeName;

    /** 排序字段，用于控制入库类型在界面上的显示顺序 */
    @Excel(name = "排序字段，用于控制入库类型在界面上的显示顺序")
    private Long sortOrder;

    /** 状态，默认为正常 */
    @Excel(name = "状态，默认为正常")
    private String status;

    /** 描述信息，用于详细描述入库类型的用途或特点 */
    @Excel(name = "描述信息，用于详细描述入库类型的用途或特点")
    private String description;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }

    public void setSortOrder(Long sortOrder)
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder()
    {
        return sortOrder;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("typeName", getTypeName())
                .append("sortOrder", getSortOrder())
                .append("status", getStatus())
                .append("description", getDescription())
                .append("phone", getPhone())
                .toString();
    }
}
